﻿

using System;
using System.Text;
using System.Reflection;
using Microsoft.Practices.Unity.InterceptionExtension;
using System.Runtime.Caching;

using Microsoft.Practices.EnterpriseLibrary.Caching;
using System.Collections.Generic;

namespace Demo.Infrastructure.Log
{
    public  interface ILog
    {
        /// <summary>
        /// 写日志
        /// </summary>
        /// <param name="message">需要写入日志的字符串信息。</param>
        void Log(string message);
        /// <summary>
        /// 写日志
        /// </summary>
        /// <param name="ex">需要将详细信息写入日志的<see cref="Exception"/>实例。</param>
        void Log(Exception ex);
    }

}
